﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Usr.Repository.Entities
{
    /// <summary>
    /// 风险结果
    /// </summary>
    [Table("usr_HealthRiskResult"), Comment("风险结果")]
    public class HealthRiskResult : EfEntity
    {
        /// <summary>
        /// 风险类型
        /// 1：肠胃
        /// 2：代谢
        /// 3：心血
        /// 4：肝肾
        /// 5：免疫
        /// 6：四高
        /// </summary>
        [Comment("风险结果 1：肠胃 2：代谢 3：心血 4：肝肾 5：免疫 6：四高")]
        public int Type { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        [Comment("图标"),MaxLength(500)]
        public string Ico { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [Comment("描述")]
        public string Describe { get; set; }

        /// <summary>
        /// 一般症状
        /// </summary>
        [Comment("一般症状")]
        public string Symptom { get; set; }

        /// <summary>
        /// 风险提示
        /// </summary>
        [Comment("风险提示")]
        public string Riskhint { get; set; }

        /// <summary>
        /// 影响因素
        /// </summary>
        [Comment("影响因素")]
        public string Influencing { get; set; }

        /// <summary>
        /// 营养建议
        /// </summary>
        [Comment("营养建议")]
        public string JYYY { get; set; }

        /// <summary>
        /// 食养建议
        /// </summary>
        [Comment("食养建议")]
        public string JYSY { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Comment("创建时间")]
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [Comment("修改时间")]
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [Comment("是否删除")]
        public bool IsDelete { get; set; } = false;
    }
}
